package org.jeecg.modules.mtic.core.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @Description: core_config
 * @Author: mtic
 * @Date:   2021-05-21
 * @Version: V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("core_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="core_config对象", description="core_config")
public class Config implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.Long id;

	/**租户ID*/



    @ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;

	/**应用ID*/



    @ApiModelProperty(value = "应用ID")
    private java.lang.Integer appId;

	/**标识码*/



    @ApiModelProperty(value = "标识码")
    private java.lang.String code;

	/**名称*/



    @ApiModelProperty(value = "名称")
    private java.lang.String name;

	/**数据类型[字典-dataType]*/



    @Dict(dicCode = "dataType")
    @ApiModelProperty(value = "数据类型[字典-dataType]")
    private java.lang.Integer dataType;

	/**当前值*/



    @ApiModelProperty(value = "当前值")
    private java.lang.String value;

	/**缺省值*/



    @ApiModelProperty(value = "缺省值")
    private java.lang.String valueDefault;

	/**标签*/



    @ApiModelProperty(value = "标签")
    private java.lang.String tags;

	/**数据源字典类型ID*/



    @ApiModelProperty(value = "数据源字典类型ID")
    private java.lang.Integer dictTypeId;

	/**禁用[1-禁用,0-启用]*/



    @ApiModelProperty(value = "禁用[1-禁用,0-启用]")
    private java.lang.Integer isDisabled;

	/**删除[1-已删除,0-未删除]*/



    @ApiModelProperty(value = "删除[1-已删除,0-未删除]")
    private java.lang.Integer isDeleted;

	/**描述*/



    @ApiModelProperty(value = "描述")
    private java.lang.String description;

	/**创建时间[DB自动]*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")


    @ApiModelProperty(value = "创建时间[DB自动]")
    private java.util.Date createTime;

	/**最后修改时间[DB自动]*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")


    @ApiModelProperty(value = "最后修改时间[DB自动]")
    private java.util.Date updateTime;

	/**创建人*/



    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;

	/**最后修改人*/



    @ApiModelProperty(value = "最后修改人")
    private java.lang.String updateBy;

}
